﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Forms/FormAdmin.master" AutoEventWireup="true" CodeBehind="FlexiForm.aspx.cs" Inherits="HRdex_Final.Forms.WebForm6" %>
<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>


<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>


<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <div align="center">
    
        <div>
        </div>
    <table style="background-color: #FFFFFF; border-style: double; border-color: #0066FF; width: 720px;">
  
    <tr>
             <td colspan="4">

                        FLEXI FORM<asp:Label 
                            ID="lblDatePub" runat="server"></asp:Label>
             </td> 
    </tr>
        <tr>
            <td>
                Employee No:<asp:RequiredFieldValidator 
                    ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtEmpNo" 
                    ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
            <td style="width: 133px">
                <asp:TextBox ID="txtEmpNo" runat="server" Width="115px"></asp:TextBox>
                </td>
            <td>
                Employee Name:<asp:RequiredFieldValidator 
                    ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtEmpName" 
                    ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
            <td>
                <asp:TextBox ID="txtEmpName" runat="server" Width="280px"></asp:TextBox>
                </td>
            </tr>
        <tr>
            <td>
                Position<asp:RequiredFieldValidator 
                    ID="RequiredFieldValidator4" runat="server" ControlToValidate="ddlPositions" 
                    ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
            <td style="width: 133px">
                <asp:DropDownList ID="ddlPositions" runat="server" DataSourceID="Position" 
                    DataTextField="catPositionsName" DataValueField="catPositionsID" Height="18px" 
                    Width="119px">
                </asp:DropDownList>
                <asp:SqlDataSource ID="Position" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                    SelectCommand="SELECT * FROM [catPositions]"></asp:SqlDataSource>
            </td>
            <td>
                Office<asp:RequiredFieldValidator 
                    ID="RequiredFieldValidator5" runat="server" ControlToValidate="ddlOffice" 
                    ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
            <td>
                <asp:DropDownList ID="ddlOffice" runat="server" DataSourceID="office" 
                    DataTextField="CollegeName" DataValueField="CollegeID" Height="18px" 
                    Width="287px">
                </asp:DropDownList>
                <asp:SqlDataSource ID="office" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                    SelectCommand="SELECT * FROM [catCollege]"></asp:SqlDataSource>
            </td>
            </tr>
        <tr>
            <td colspan="4">
                &nbsp;</td>
            </tr>
        <tr>
            <td colspan="4">
                Original Time Schedule</td>
            </tr>
        <tr>
            <td>
                Date
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="txtODate" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
            <td style="width: 133px">
                Time
            </td>
            <td>    
                No. of Hours
            </td>
            <td>
                Nature of Activity
                <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                    ControlToValidate="txtActivityReason" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>
         <tr>
            <td>
                <asp:TextBox ID="txtODate" runat="server"></asp:TextBox>
                
                <asp:CalendarExtender ID="txtODate_CalendarExtender" runat="server" 
                    Enabled="True" TargetControlID="txtODate">
                </asp:CalendarExtender>
                
            </td>
            <td style="width: 133px">
                <asp:DropDownList ID="ddlOhr" runat="server" Height="22px" Width="45px" 
                    AutoPostBack="True">
                     <asp:ListItem Value="1"></asp:ListItem>
                    <asp:ListItem Value="2"></asp:ListItem>
                    <asp:ListItem Value="3"></asp:ListItem>
                    <asp:ListItem Value="4"></asp:ListItem>
                    <asp:ListItem Value="5"></asp:ListItem>
                    <asp:ListItem Value="6"></asp:ListItem>
                    <asp:ListItem Value="7"></asp:ListItem>
                    <asp:ListItem Value="8"></asp:ListItem>
                    <asp:ListItem Value="9"></asp:ListItem>
                    <asp:ListItem Value="10"></asp:ListItem>
                    <asp:ListItem Value="11"></asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddlOmin" runat="server" Height="22px" Width="45px" 
                    AutoPostBack="True">
                    <asp:ListItem Value="00"></asp:ListItem>
                    <asp:ListItem Value="05"></asp:ListItem>
                    <asp:ListItem Value="10"></asp:ListItem>
                    <asp:ListItem Value="15"></asp:ListItem>
                    <asp:ListItem Value="20"></asp:ListItem>
                    <asp:ListItem Value="25"></asp:ListItem>
                    <asp:ListItem Value="30"></asp:ListItem>
                    <asp:ListItem Value="35"></asp:ListItem>
                    <asp:ListItem Value="40"></asp:ListItem>
                    <asp:ListItem Value="45"></asp:ListItem>
                    <asp:ListItem Value="50"></asp:ListItem>
                    <asp:ListItem Value="55"></asp:ListItem>
                </asp:DropDownList>
                &nbsp;-
                <asp:DropDownList ID="ddlOhr0" runat="server" Height="22px" Width="45px" 
                    AutoPostBack="True">
                     <asp:ListItem Value="1"></asp:ListItem>
                    <asp:ListItem Value="2"></asp:ListItem>
                    <asp:ListItem Value="3"></asp:ListItem>
                    <asp:ListItem Value="4"></asp:ListItem>
                    <asp:ListItem Value="5"></asp:ListItem>
                    <asp:ListItem Value="6"></asp:ListItem>
                    <asp:ListItem Value="7"></asp:ListItem>
                    <asp:ListItem Value="8"></asp:ListItem>
                    <asp:ListItem Value="9"></asp:ListItem>
                    <asp:ListItem Value="10"></asp:ListItem>
                    <asp:ListItem Value="11"></asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddlOmin0" runat="server" Height="22px" Width="45px" 
                    AutoPostBack="True">
                    <asp:ListItem Value="00"></asp:ListItem>
                    <asp:ListItem Value="05"></asp:ListItem>
                    <asp:ListItem Value="10"></asp:ListItem>
                    <asp:ListItem Value="15"></asp:ListItem>
                    <asp:ListItem Value="20"></asp:ListItem>
                    <asp:ListItem Value="25"></asp:ListItem>
                    <asp:ListItem Value="30"></asp:ListItem>
                    <asp:ListItem Value="35"></asp:ListItem>
                    <asp:ListItem Value="40"></asp:ListItem>
                    <asp:ListItem Value="45"></asp:ListItem>
                    <asp:ListItem Value="50"></asp:ListItem>
                    <asp:ListItem Value="55"></asp:ListItem>
                </asp:DropDownList>
                <br />
                <asp:TextBox ID="txtOTime" runat="server" Width="115px"></asp:TextBox>
            </td>
                No. of Hours
            <td>    
                <asp:Label ID="txtOtotal" runat="server" Text="Label" onload="Page_Load"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtActivityReason" runat="server" Width="280px"></asp:TextBox>
             </td>
        </tr>
        <tr>
            <td colspan="4">Flexi Time Schedule</td>
        </tr>
        <tr>
            <td>
                Date
                <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" 
                    ControlToValidate="txtODate" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
            <td style="width: 133px">
                Time
            </td>
            <td>    
                &nbsp;</td>
            <td></td>
        </tr>
        <tr>
            <td>
                
                <asp:TextBox ID="txtfDate" runat="server" Width="115px"></asp:TextBox>
                 <asp:CalendarExtender ID="txtfDate_CalendarExtender" runat="server" 
                    Enabled="True" TargetControlID="txtfDate">
                </asp:CalendarExtender>
            </td>
            <td style="width: 133px">
                <asp:DropDownList ID="ddlFlexiHour" runat="server" Height="22px" Width="45px" 
                    AutoPostBack="True">
                    <asp:ListItem Value="1"></asp:ListItem>
                    <asp:ListItem Value="2"></asp:ListItem>
                    <asp:ListItem Value="3"></asp:ListItem>
                    <asp:ListItem Value="4"></asp:ListItem>
                    <asp:ListItem Value="5"></asp:ListItem>
                    <asp:ListItem Value="6"></asp:ListItem>
                    <asp:ListItem Value="7"></asp:ListItem>
                    <asp:ListItem Value="8"></asp:ListItem>
                    <asp:ListItem Value="9"></asp:ListItem>
                    <asp:ListItem Value="10"></asp:ListItem>
                    <asp:ListItem Value="11"></asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddlFlexiMin" runat="server" Height="22px" Width="45px" 
                    AutoPostBack="True">
                    <asp:ListItem Value="00"></asp:ListItem>
                    <asp:ListItem Value="05"></asp:ListItem>
                    <asp:ListItem Value="10"></asp:ListItem>
                    <asp:ListItem Value="15"></asp:ListItem>
                    <asp:ListItem Value="20"></asp:ListItem>
                    <asp:ListItem Value="25"></asp:ListItem>
                    <asp:ListItem Value="30"></asp:ListItem>
                    <asp:ListItem Value="35"></asp:ListItem>
                    <asp:ListItem Value="40"></asp:ListItem>
                    <asp:ListItem Value="45"></asp:ListItem>
                    <asp:ListItem Value="50"></asp:ListItem>
                    <asp:ListItem Value="55"></asp:ListItem>
                </asp:DropDownList>
                &nbsp;-
                <asp:DropDownList ID="ddlFlexihr0" runat="server" Height="22px" Width="45px" 
                    AutoPostBack="True">
                     <asp:ListItem Value="1"></asp:ListItem>
                    <asp:ListItem Value="2"></asp:ListItem>
                    <asp:ListItem Value="3"></asp:ListItem>
                    <asp:ListItem Value="4"></asp:ListItem>
                    <asp:ListItem Value="5"></asp:ListItem>
                    <asp:ListItem Value="6"></asp:ListItem>
                    <asp:ListItem Value="7"></asp:ListItem>
                    <asp:ListItem Value="8"></asp:ListItem>
                    <asp:ListItem Value="9"></asp:ListItem>
                    <asp:ListItem Value="10"></asp:ListItem>
                    <asp:ListItem Value="11"></asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddlFleximin1" runat="server" Height="22px" Width="45px" 
                    AutoPostBack="True">
                    <asp:ListItem Value="00"></asp:ListItem>
                    <asp:ListItem Value="05"></asp:ListItem>
                    <asp:ListItem Value="10"></asp:ListItem>
                    <asp:ListItem Value="15"></asp:ListItem>
                    <asp:ListItem Value="20"></asp:ListItem>
                    <asp:ListItem Value="25"></asp:ListItem>
                    <asp:ListItem Value="30"></asp:ListItem>
                    <asp:ListItem Value="35"></asp:ListItem>
                    <asp:ListItem Value="40"></asp:ListItem>
                    <asp:ListItem Value="45"></asp:ListItem>
                    <asp:ListItem Value="50"></asp:ListItem>
                    <asp:ListItem Value="55"></asp:ListItem>
                </asp:DropDownList>
                <asp:TextBox ID="txtfTime" runat="server" Width="115px"></asp:TextBox>
            </td>
                No. of Hours
            <td>    
                <asp:Label ID="txtftotal" runat="server" Text="Label" onload="Page_Load"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="4">
                
                <asp:Label ID="lblConfirmationMessage" runat="server" ForeColor="#3366FF"></asp:Label>
                
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
                    onclick="btnSubmit_Click" /> 
                <asp:Button ID="btnClear" runat="server" Text="Clear" 
                    onclick="btnClear_Click" />
            </td>
        </tr>
    </table>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    <table id="approval" align="right">
    <tr>
        <td>Chairperson/Supervisor</td>
        <td>
            <asp:DropDownList ID="ddlApprovalHead" runat="server">
                <asp:ListItem></asp:ListItem>
                <asp:ListItem>Denied</asp:ListItem>
                <asp:ListItem>Approved</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>Dean/Director</td>
        <td>
            <asp:DropDownList ID="ddlApprovalDean" runat="server">
                <asp:ListItem></asp:ListItem>
                <asp:ListItem>Denied</asp:ListItem>
                <asp:ListItem>Approved</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>Human Resource Director</td>
        <td>
            <asp:DropDownList ID="ddlApprovalHR" runat="server">
                <asp:ListItem></asp:ListItem>
                <asp:ListItem>Denied</asp:ListItem>
                <asp:ListItem>Approved</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>     
    </table>
</div>

</asp:Content>
